﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Creditos.master" AutoEventWireup="true"
    CodeFile="FormsManEstrategiasCredito.aspx.cs" Inherits="solcred_FormsManEstrategiasCredito" %>

<%@ MasterType VirtualPath="~/Shared/Creditos.master" %>
<%@ Register Src="../Controles/UCBarraHerramientas.ascx" TagName="UCBarraHerramientas"
    TagPrefix="uc1" %>
<%@ Register Assembly="WeclValidador" Namespace="WeclValidador" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<script language="javascript" type="text/javascript">
    function ValidarCaracteres(textareaControl,maxlength){
             
        if (textareaControl.value.length > maxlength){
            textareaControl.value = textareaControl.value.substring(0,maxlength);
            //alert("Debe ingresar hasta un maximo de "+maxlength+" caracteres");
        }
    }
</script>   
    <table style="width: 780px" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td align="right" colspan="5">
                <!--Barra Herramientas -->
                <table width="100%">
                    <tr>
                        <td>
                            <uc1:UCBarraHerramientas ID="UCBarraHerramientas1" runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="celda-principal" colspan="5">
                <asp:Label ID="lblConfiguracion" runat="server" Text="Configuración"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="pnlConfiguracion1" runat="server" Height="150px" Width="500px">
                    <table>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblCodigoEstrategia" runat="server" Text="Código Estrategia"></asp:Label>
                            </td>
                            <td align="left" colspan="4">
                                <asp:TextBox ID="txtCodigoEstrategia" runat="server" Enabled="false" ReadOnly="true"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblDescripcionEstrategia" runat="server" Text="Descripción Estrategia (*)"></asp:Label>
                            </td>
                            <td align="left" colspan="4">
                                <asp:TextBox ID="txtDescripcionEstrategia" runat="server" TextMode="MultiLine" MaxLength="80"
                                    Width="300px" Height="30"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblProducto" runat="server" Text="<%$ Resources:Creditos,lblProducto %>"></asp:Label>
                            </td>
                            <td colspan="4">
                                <asp:DropDownList ID="ddlProducto" runat="server" Width="230px" AutoPostBack="true"
                                    Enabled="true">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblSubProducto" runat="server" Text="<%$ Resources:Creditos,lblSubProducto %>"></asp:Label>
                            </td>
                            <td colspan="4">
                                <asp:DropDownList ID="ddlSubProducto" runat="server" Width="230px" AutoPostBack="false"
                                    Enabled="true">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblNivelIngresos" runat="server" Text="Nivel de Ingresos"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="lblDesde" runat="server" Text="Desde"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtDesde" runat="server" SkinID="importe"></asp:TextBox>                                 
                                   <cc1:WeclValidadorExtender ID="ValidadorRangoInicial" runat="server" TargetControlID="txtDesde"
                                                                TipoValidacion="ValidarDecimal" NumeroDecimales="2" />
                            </td>
                            <td>
                                <asp:Label ID="lblHasta" runat="server" Text="Hasta"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtHasta" runat="server" SkinID="importe"></asp:TextBox>
                                <cc1:WeclValidadorExtender ID="ValidadroRangoFinal" runat="server" TargetControlID="txtHasta"
                                                                TipoValidacion="ValidarDecimal" NumeroDecimales="2" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
            <td>
                <asp:Panel ID="pnlConfiguracion2" runat="server" Height="150px">
                    <table>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblEstado" runat="server" Text="Estado"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtEstado" runat="server" Enabled="false" ReadOnly="true"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblFechaIngreso" runat="server" Text="Fecha Ingreso"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtFechaIngreso" runat="server" Enabled="false" ReadOnly="true"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
            <td style="width: 70px">
            </td>
        </tr>
        <tr>
            <td class="celda-principal" colspan="5">
                <asp:Label ID="lblPoliticaBase" runat="server" Text="Política Base"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Panel ID="pnlPoliticaBase" runat="server">
                    <table>
                        <tr>
                            <td class="celda-principal">
                                <asp:Label ID="lblRequerido" runat="server" Text="Requerido"></asp:Label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="celda-principal">
                                <asp:Label ID="lblTipo" runat="server" Text="Tipo"></asp:Label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="celda-principal">
                                <asp:Label ID="lblPlantilla" runat="server" Text="Plantilla"></asp:Label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td class="celda-principal">
                                <asp:Label ID="lblObligatorio" runat="server" Text="Obligatorio"></asp:Label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:CheckBox ID="chbParametrosBasicosRequerido" runat="server"></asp:CheckBox>
                            </td>
                            <td align="left">
                                <asp:Label ID="lblParametrosBasicos" runat="server" Text="Parámetros Básicos (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlParametrosBasicos" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                                <asp:CheckBox ID="chbParametrosBasicosObligatorio" runat="server"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:CheckBox ID="chbCentralRiesgoRequerido" runat="server"></asp:CheckBox>
                            </td>
                            <td align="left">
                                <asp:Label ID="lblCentralRiesgo" runat="server" Text="Central de Riesgo (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlCentralRiesgo" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                                <asp:CheckBox ID="chbCentralRiesgoObligatorio" runat="server"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:CheckBox ID="chbVerificacionesRequerido" runat="server"></asp:CheckBox>
                            </td>
                            <td align="left">
                                <asp:Label ID="lblVerificaciones" runat="server" Text="Verificaciones (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlVerificaciones" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                                <asp:CheckBox ID="chbVerificacionesObligatorio" runat="server"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:CheckBox ID="chbPosicionBancoRequerido" runat="server"></asp:CheckBox>
                            </td>
                            <td align="left">
                                <asp:Label ID="lblPosicionBanco" runat="server" Text="Posición Banco (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlPosicionBanco" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                                <asp:CheckBox ID="chbPosicionBancoObligatorio" runat="server"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:CheckBox ID="chbPosicionSBSRequerido" runat="server"></asp:CheckBox>
                            </td>
                            <td align="left">
                                <asp:Label ID="lblPosicionSBS" runat="server" Text="Posición SBS (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlPosicionSBS" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                                <asp:CheckBox ID="chbPosicionSBSObligatorio" runat="server"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblRelacionCuotaIngreso" runat="server" Text="Relación Cuota Ingreso (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlRelacionCuotaIngreso" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblLimitesCredito" runat="server" Text="Límites de Crédito (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlLimiteCredito" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblScoring" runat="server" Text="Scoring (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlScoring" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblAutonomias" runat="server" Text="Autonomias (*)"></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlAutonomias" runat="server" Width="170">
                                </asp:DropDownList>
                            </td>
                            <td align="left">
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td class="celda-principal" colspan="5">
                <asp:Label ID="Label1" runat="server" Text="Límites"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
        <tr>
            <td>
                <asp:Panel ID="pnlImporte" runat="server" Height="130px" Width="500px">
                    <table>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblImporte" runat="server" Text="Importe" Font-Bold="true"></asp:Label>
                            </td>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblSoles" runat="server" Text="Soles"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:Label ID="lblDolares" runat="server" Text="Dolares"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblMinimo" runat="server" Text="Mínimo"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMinimoSolesImporte" runat="server" SkinID="importe"></asp:TextBox>
                                <cc1:WeclValidadorExtender ID="ValidatorTxtMinimoSolesImporte" runat="server" TargetControlID="txtMinimoSolesImporte"
                                                                TipoValidacion="ValidarDecimal" NumeroDecimales="2" />
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMinimoDolaresImporte" runat="server" SkinID="importe"></asp:TextBox>
                                  <cc1:WeclValidadorExtender ID="ValidadorTxtMinimoDolaresImporte" runat="server" TargetControlID="txtMinimoDolaresImporte"
                                                                TipoValidacion="ValidarDecimal" NumeroDecimales="2" />
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                            </td>
                            <td align="left">
                                <asp:Label ID="lblMaximo" runat="server" Text="Máximo"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaximoSolesImporte" runat="server" SkinID="importe"></asp:TextBox>
                                   <cc1:WeclValidadorExtender ID="ValidadorTxtMaximoSolesImporte" runat="server" TargetControlID="txtMaximoSolesImporte"
                                                                TipoValidacion="ValidarDecimal" NumeroDecimales="2" />
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaximoDolaresImporte" runat="server" SkinID="importe"></asp:TextBox>
                                   <cc1:WeclValidadorExtender ID="ValidadorTxtMaximoDolaresImporte" runat="server" TargetControlID="txtMaximoDolaresImporte"
                                                                TipoValidacion="ValidarDecimal" NumeroDecimales="2" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
            <td>
                <asp:Panel ID="pnlPlazo" runat="server" Height="130px">
                    <table>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblPlazo" runat="server" Text="Plazo" Font-Bold="true"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblMinimoPlazo" runat="server" Text="Mínimo"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMinimoPlazo" runat="server" SkinID="importe"></asp:TextBox>
                                <cc1:WeclValidadorExtender ID="ValidadorMinimoPlazo" runat="server" TargetControlID="txtMinimoPlazo"
                                                                TipoValidacion="ValidarEntero"/>
                            </td>
                        </tr>
                        <tr>
                            <td align="left">
                                <asp:Label ID="lblMaximoPlazo" runat="server" Text="Máximo"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaximoPlazo" runat="server" SkinID="importe"></asp:TextBox>
                                <cc1:WeclValidadorExtender ID="ValidadorMaximoPlazo" runat="server" TargetControlID="txtMaximoPlazo"
                                                                TipoValidacion="ValidarEntero"/>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
